<template>
  <div id="app">
    <header><router-view name="header" /></header>
    <main><router-view /></main>

    <footer><router-view name="footer" /></footer>
  </div>
</template>
<script>

export default {
  name: 'App'
  // components: {
  //   NavBar,
  //   TagBar
  // }
}
</script>
<style lang="less" >
*{
  margin: 0px;
  padding: 0px;
}
html,body{
  height: 100%;
}
#app{
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color:#fff;
  main{
      flex: 1;
      overflow:hidden;
  }
}

</style>
